package com.geeklan.base.utils;

import java.lang.reflect.Method;

public class SystemPropertiesUtils {
    public static String getSystemPropertiesString(final String key) {
        Method method = null;
        try {
            method = Class.forName("android.os.SystemProperties").getMethod("get", String.class);
            Object object = method.invoke(null, key);
            return object == null ? "" : object.toString();
        } catch (Exception e) {
            e.printStackTrace();
        }
        return "";
    }
}
